package com.lagou.edu.wwyan.nacos.code.service.impl;

import com.lagou.edu.wwyan.nacos.code.service.LagouUserFeignClient;
import com.lagou.edu.wwyan.nacos.user.entity.LagouToken;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

//@Component
@Slf4j
public class LagouUserFeignClientFailBack implements LagouUserFeignClient {
    @Override
    public Boolean isRegister(String email) {
        log.error("判断是否已注册失败{}",email);
        return true;
    }

    @Override
    public Boolean register(String email, String password, String code) {
        log.error("判断是否已注册失败{}",email);
        return true;
    }

    @Override
    public String login(String email, String password) {
        log.error("login{}",email);
        return null;
    }

    @Override
    public LagouToken getLagouToken(String token) {
        log.error("getLagouToken{}",token);
        return null;
    }
}
